
// import {state} from './state'

export const mutations = {
    //动态控制展开与收起,切换对应图标
    setCollapse(state){
        console.log(222,!state.isCollapse)
        state.isCollapse = !state.isCollapse;
        state.toggle = !state.toggle;
        state.block = !state.block;
    },
    setUser(state,data){
        state.user = data;
        // console.info(5555555,state.user)
    }
}